Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add a complete antipodal grasp-annotation and pose-generation toolkit for parallel-jaw grippers (
embodichain.toolkits.graspkit.pg_grasp), plus a dedicated CLI sub-command and documentation.Core modules (new):
antipodal_generator.py—GraspGeneratorwith interactive Viser-based region annotation, antipodal sampling, pose construction, and collision-aware filtering.antipodal_sampler.py—AntipodalSamplerfor ray-cast antipodal pair detection on mesh surfaces.collision_checker.py— Batch convex-hull collision checking (Warp kernel).gripper_collision_checker.py— Parallel-jaw gripper collision model and query.CLI:
annotate-graspsub-command registered inembodichain/__main__.py. Loads a mesh via trimesh, launches browser-based annotation UI, and caches antipodal point pairs.Usage:
Other changes:
scripts/tutorials/grasp/grasp_generator.pydocs/source/features/toolkits/grasp_generator.rsttests/toolkits/test_batch_convex_collision.pyembodichain/utils/warp/collision/for GPU-accelerated convex queriesantipodal.pyandcone_sampler.py(replaced by the new modules above)Type of change
Screenshots
Checklist
black .command to format the code base.🤖 Generated with Claude Code